<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>详情</title>
    <link rel="stylesheet" href="./lib/elementui.css">
    <script src="./lib/vue.js"></script>
    <script src="./lib/elementui.js"></script>
</head>
<body>
    <div id="postDetail">
        <div class="send-pad">
            <el-button size="small" type="primary">回帖</el-button>
        </div>
        
        <div class="reply-content">
            <div class="post-title">
                <div class="left">
                    查看:996 | 回复:1007
                </div>
                <div class="right">
                    这是一个帖子标题
                </div>
            </div>
            <ul>
                <li>
                    <div class="content-item">
                        <div class="left">
                            <div class="user-no">
                                2251610468
                            </div>
                            <div class="user-info">
                                <img src="./assets/images/user.jpg" alt="" />
                                <p>Ace</p>
                                <p>等级：16</p>
                            </div>
                        </div>
                        <div class="right">
                            <div class="send-time">
                                发表于 2021-3-19 23:40
                            </div>
                            <div class="content-detail">
                                这是内容
                            </div>
                            <div class="content-foot">
                                <span>回复</span>
                                <span>顶(1)</span>
                                <span>踩(0)</span>
                            </div>
                        </div>
                    </div>
                </li>   
                <li>
                    <div class="content-item">
                        <div class="left">
                            <div class="user-no">
                                2251610468
                            </div>
                            <div class="user-info">
                                <img src="./assets/images/user.jpg" alt="" />
                                <p>Ace</p>
                                <p>等级：16</p>
                            </div>
                        </div>
                        <div class="right">
                            <div class="send-time">
                                发表于 2021-3-19 23:40
                            </div>
                            <div class="content-detail">
                                这是内容
                            </div>
                            <div class="content-foot">
                                <span>回复</span>
                                <span>顶(1)</span>
                                <span>踩(0)</span>
                            </div>
                        </div>
                    </div>
                </li>   
                <li>
                    <div class="content-item">
                        <div class="left">
                            <div class="user-no">
                                2251610468
                            </div>
                            <div class="user-info">
                                <img src="./assets/images/user.jpg" alt="" />
                                <p>Ace</p>
                                <p>等级：16</p>
                            </div>
                        </div>
                        <div class="right">
                            <div class="send-time">
                                发表于 2021-3-19 23:40
                            </div>
                            <div class="content-detail">
                                这是内容
                            </div>
                            <div class="content-foot">
                                <span>回复</span>
                                <span>顶(1)</span>
                                <span>踩(0)</span>
                            </div>
                        </div>
                    </div>
                </li>   
            </ul>
        </div>

        <div class="reply-page">
            <el-pagination background layout="prev, pager, next" :page-size="30" :total="1000"></el-pagination>
        </div>
    </div>
</body>
<script>
    new Vue({
        el:"#postDetail"
    })
</script>
<style>
     *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    #postDetail{
        padding: 10px;
    }
    ul{
        list-style: none;
    }
    .send-pad{
        height: 50px;
        margin-top: 36px;
    }
    .reply-page{
        text-align: right;
        margin: 16px 0;
    }
    .reply-content .post-title{
        background: #E5EDF2;
        line-height: 36px;
        font-size: 14px;
        height: 42px;
        border-bottom:6px solid #C2D5E3;
    }

    .reply-content .post-title .left{
        width: 200px;
        float: left;
    }
    .content-item{
        border-bottom:6px solid #C2D5E3;
    }
    .content-item .left{
        background: #E5EDF2;        
        width: 200px;
        padding-bottom: 6px;
        float: left;
    }

    .content-item .left .user-no{
        height: 36px;
        line-height: 36px;
        border-bottom:1px #ccc dashed;
        padding-left: 10px;
    }

    .content-item .left .user-info{
      padding-top: 16px;
      text-align: center;
    }

    .content-item .left .user-info img{
      border:5px #fff solid;
      width: 132px;
      height: 132px;
    }

    .content-item .left .user-info p{
      text-align-last: left;
      padding-left: 34px;
      font-size: 14px;
      padding-bottom: 10px;
    }

    .content-item .right{
        min-height: 252px;
        background-color: #fff;
        font-size: 14px;
        overflow: hidden;
        padding: 0 6px;
    }
    .content-item .right .send-time{
        height: 36px;
        line-height: 36px;
        border: 1px dashed #ccc;
    }
    .content-item .right .content-detail{
        min-height: 180px;
    }
    .content-item .right .content-foot{
        height: 36px;
        line-height: 36px;
        border-top: 1px dashed #ccc;
    }

    .content-item .right .content-foot span{
        margin-right: 16px;
    }
</style>
</html>